home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Extensions… / PostScript Extension Shell ƒ / PS Extension.a < prev    next >
Encoding:
Text File  |  1996-03-20  |  1.1 KB  |  42 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File: PS Extension.a
  3. ;    
  4. ;    Assembly code (jump table) for a printing extension.
  5. ;
  6. ;    (Based on the "Extension Shell" sample.)
  7. ;
  8. ;    Dave Hersey
  9. ;    Apple Developer Technical Support
  10. ;
  11. ;    12/01/92 - dmh - Created.
  12. ;     4/26/93 - dmh - Updated to use recommended approach
  13. ;                     to global data initialization.
  14. ;     9/05/93 - dmh - Updated for b2.
  15. ;     9/08/93 - dmh - Modified to override
  16. ;                      GXPostScriptDoPageSetup.
  17. ;                   - Added a "PS " before the file names.
  18. ;                   - Changed creator type.
  19. ;    12/18/93 - dmh - Updated for b3.
  20. ;
  21.  
  22.     EXPORT    EntryPoint                    ; Our main entry point.
  23.     IMPORT    NewInitialize                ; Our override for GXInitialize.
  24.     IMPORT    NewShutDown                    ; Our override for GXShutDown.
  25.     IMPORT    NewJobPrintDialog            ; Our override for GXJobPrintDialog.
  26.     IMPORT    NewHandlePanelEvent            ; Our override for GXHandlePanelEvent.
  27.     IMPORT    NewPSDoPageSetup            ; Our override for GXPostScriptDoPageSetup.
  28.  
  29. EntryPoint    PROC
  30.  
  31.             DC.L    0                    ; Reserved for owner count.
  32.  
  33.             JMP        NewInitialize        ; (offset =  4)
  34.             JMP        NewShutDown            ; (offset =  8)
  35.             JMP        NewJobPrintDialog    ; (offset = 12)
  36.             JMP        NewHandlePanelEvent    ; (offset = 16)
  37.             JMP        NewPSDoPageSetup    ; (offset = 20)
  38.  
  39.             ENDPROC
  40.  
  41.     END
  42.